﻿using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace _2Net8Configuration.Customer
{
    public class TextConfigurationSource : IConfigurationSource
    {
        public string FilePath;
        public TextConfigurationSource(string filePath)
        {
            this.FilePath = filePath;
        }

        public IConfigurationProvider Build(IConfigurationBuilder builder)
        {
            return new TextConfigurationProvider(this);
        }
    }
}
